package com.sctvcloud.qingchuan.application;

/**
 * Created by Administrator on 2017/7/11 0011.
 */

public class Constances {

    /**
     * 是否是测试版本
     */
    public static boolean IS_TESTING = false;

    public static final String SITE_ID = "405";
    public static final String IS_CITY_STATE = "IS_CITY_STATE";


    /**
     * 站点在网络访问中的key值
     */
    public static final String SITE_NET_KEY = "siteNumber";

    public static final String PUSH_TYPE_KEY = "pushType";

    // public static final String ST_BASE_URL = "http://172.16.17.36:8080/";
    public static final String ACCOUNT_SITE_ID = "1";
    /**
     * 华栖云 租户ID（不同区县 id不同）青川
     */
    public static final String TENANT_ID = "b3a5dedcb70193c72d25e94bdbd43d6e";
    /**
     * 10、spider_sctv_token：川台会员认证
     */
    public static final String GRANT_TYPE = "spider_sctv_token";

    /*****************正式环境配置* 区县********************/
    public static final String ST_BASE_URL = "http://file.qcrmt.com/";// 新闻静态接口
    public static final String DY_BASE_URL = "http://api.qcrmt.com:8083/";// 新闻动态接口  http://192.168.29.163:8023/测试
    public static final String MALL_DY_BASE_URL = "http://api.qcrmt.com:8023/";//积分商城动态接口测试环境
    public static final String MALL_ST_BASE_URL = "http://file.qcrmt.com/";//积分商城 静态接口
    public static final String ST_LOG_BASE_URL = "http://api.qcrmt.com:8085/";//统计日志 测试环境


    public static final String DY_RM_BASE_URL = "http://spider-gateway.cmc.qcrmt.com/";//华栖云 融媒服务
    public static final String DY_RM_CMSAPI_BASE_URL = "http://cmsapi.cmc.qcrmt.com/cmsapi/";//华栖云 融媒服务

    public static final String DY_POLITICS_BASE_URL = "http://cmsback.cmc.qcrmt.com/";//华栖云 问政服务
    public static final String DY_POLITICS_VIDEO_BASE_URL = "http://vms.cmc.qcrmt.com/";//华栖云 视频上传地址

//    http://118.122.72.73:8088/";//CMS地址

//    public static final String ST_BASE_URL = "http://file.scwy.tv/";// 新闻静态接口
//    public static final String DY_BASE_URL = "http://wyapi.scwy.tv:8083/";// 新闻动态接口  http://192.168.29.163:8023/测试
//    public static final String MALL_DY_BASE_URL = "http://wymall.scwy.tv:8023/";//积分商城动态接口测试环境
//    public static final String MALL_ST_BASE_URL = "http://file.scwy.tv/";//积分商城 静态接口
//    public static final String ST_LOG_BASE_URL = "http://wyapi.scwy.tv:8085/";//统计日志 测试环境
    /********************************************************/
    /**********************测试环境配置**********************/

//    public static final String ST_BASE_URL = "http://118.122.74.146:6081/";// 新闻静态接口
//    public static final String DY_BASE_URL = "http://118.122.74.146:6083/";// 新闻动态接口  http://192.168.29.163:8023/测试
//    public static final String MALL_DY_BASE_URL = "http://118.122.74.146:6023/";//积分商城动态接口测试环境
//    public static final String MALL_ST_BASE_URL = "http://118.122.74.146:6081/";//积分商城 静态接口
//    public static final String ST_LOG_BASE_URL = "http://118.122.74.146:6085/";//统计日志 测试环境



    /*************** *********************************************/

    public static final String URL_MALL = "sctv/scgcmall/store/shop.html";//积分商城的url
//    public static final String URL_COMMODITY_DETAIL ="http://js.sctv.com/xqtest/scgc/goods.html";//商品详情的url

    public static final int BIG_FONT = 23;
    public static final int MID_FONT = 21;
    public static final int SMALL_FONT = 20;
    public static final String FAST_SPEED = "80";
    public static final String MID_SPEED = "65";
    public static final String SLOW_SPEED = "45";

    public static final String SUBSCRIBE_KEY = "subscribe_key";
    public static final String FONT_KEY = "font_key";
    public static final String REBLLION_KEY = "rebllion_key";
    public static final String VOICE_TEMPLATE_KEY = "voice_template_key";
    public static final String VOICE_SPEED_KEY = "voice_speed_key";
    public static final String MATCHER_PHONE = "0?(11|12|13|14|15|16|17|18|19)[0-9]{9}";

    //用户类型
    public static final int USER_TYPE_COMMON = 1;
    public static final int USER_TYPE_REPORTER = 2;
    public static final int USER_TYPE_ANCHOR = 3;

    //新闻类型
    public static final int NEWS_TYPE_GRAPHIC = 1;//图文新闻
    public static final int NEWS_TYPE_AUDIO = 2;//音频新闻
    public static final int NEWS_TYPE_VIDEO = 3;//视频新闻
    public static final int NEWS_TYPE_TOPIC = 4;//专题
    public static final int NEWS_TYPE_LIVE = 5;//直播新闻
    public static final int NEWS_TYPE_H5 = 6;//外部链接H5
    public static final int NEWS_TYPE_COUNTY = 7;//区县新闻
    public static final int NEWS_TYPE_SMALL_AD = 8;//小图广告
    public static final int NEWS_TYPE_BIGGER_AD = 9;//大图广告
    //新增栏目布局类型
    public static final int COMMON_FRG_VIEW_TYPE_FIRST_LARGE = 1;
    public static final int COMMON_FRG_VIEW_TYPE_ALL_LARGE = 2;

    //报料类型
    public static final int REBELLION_TYPE_BREAKING_NEWS = 1;//突发新闻
    public static final int REBELLION_TYPE_EXPERIENCES = 2;//见闻
    public static final int REBELLION_TYPE_HOT_NEWS = 3;//热点新闻
    public static final int REBELLION_TYPE_PIC_NEWS = 4;//图片新闻
    public static final int REBELLION_TYPE_VIDEO_NEWS = 5;//视频新闻

    public static final int MODE_COMMENT_SEND_NEWS = 221;
    public static final int MODE_COMMENT_SEND_COMMENT = 222;
    public static final int MODE_COMMENT_GET_NEW = 223;

    //直播类型
    public static final int LIVE_TYPE_LIVING = 1;
    public static final int LIVE_TYPE_APPOINT = 2;
    public static final int LIVE_TYPE_REVIEW = 3;
    public static final int LIVE_TYPE_STUDIO = 4;
    public static final int LIVE_TYPE_CHAT = 5;

    //评论类型
    public static final int COMMENT_TYPE_NEWS = 0;
    public static final int COMMENT_TYPE_TOPIC = 1;
    public static final int COMMENT_TYPE_LIVE = 2;

    //请求评论数据类型
    public static final int REQUEST_COMMENT_TYPE_NEWS = 0;  //新闻评论
    public static final int REQUEST_COMMENT_TYPE_TOPIC = 1;//专题评论
    public static final int REQUEST_COMMENT_TYPE_LIVE = 2;//直播评论

    //投票类型
    public static final int VOTE_TYPE_RADIO = 0;
    public static final int VOTE_TYPE_MULTI = 1;

    //推送类型
    public static final int PUSH_TYPE_NORMAL = 0;//
    public static final int PUSH_TYPE_DYNAMIC = 1;//直播间动态
    public static final int PUSH_TYPE_CHAT = 2;//直播聊天室

    //资讯类型
    public static final int INFORMATION_TYPE_FLASH = 1;
    public static final int INFORMATION_TYPE_WEIGHT = 2;

    public static final int SPACING_SMALL = 40;
    public static final int SPACING_MIDDLE = 60;
    public static final int SPACING_LARGE = 80;

    //第三方登录类型
    public static final int OPEN_TYPE_LOGIN_WEIBO = 1;
    public static final int OPEN_TYPE_LOGIN_WEIXIN = 2;
    public static final int OPEN_TYPE_LOGIN_QQ = 3;

    //数据版本的key
    public static final int DATA_VERSION_ADYNAMIC = 831;//主播动态的key

    //增加积分类型 1:签到;2:评论;3:转发;4:投稿;5:采用投稿;6:邀请码分享(推荐);7:新用户注册;8:输入邀请码;9:点赞10:阅读新闻;11 我的申报提交成功
    public static final int ADD_INTEGRAL_SIGN_IN = 1;
    public static final int ADD_INTEGRAL_COMMENT = 2;
    public static final int ADD_INTEGRAL_FORWARD = 3;
    public static final int ADD_INTEGRAL_SUBMISSION = 4;
    public static final int ADD_INTEGRAL_USE_SUBMISSION = 5;
    public static final int ADD_INTEGRAL_SHARE_INVITATION = 6;
    public static final int ADD_INTEGRAL_REGISTER = 7;
    public static final int ADD_INTEGRAL_INPUT_INVITATION = 8;
    public static final int ADD_INTEGRAL_DOUP = 9;//点赞
    public static final int ADD_INTEGRAL_READ_NEWS = 10;//
    public static final int ADD_INTEGRAL_COMMIT_DECLARE_SUCCESS = 11;//

    //分享类型  1、新闻详情  2、直播详情 3、专题详情 4、其他
    public static final int SHARE_TYPE_NEWS_INFO = 1;//
    public static final int SHARE_TYPE_LIVE_INFO = 2;//
    public static final int SHARE_TYPE_SPECIAL_INFO = 3;//
    public static final int SHARE_TYPE_OTHER_INFO = 4;//

    /////////////////////////////////event keys//////////////////////////////
    public static final int EVENT_KEY_PUBLISH_VIDEO = 780;
}
